package syntax_tree;

import visitor.TypeVisitor;
import visitor.Visitor;

public class TFormal {

	public TType tt;
	public TIdentifier id;

	
	public TFormal(TType tt, TIdentifier id){
		this.tt = tt;
		this.id = id;
	}
	
	public void accept(Visitor v) {
	    v.visit(this);
	}

	public TType accept(TypeVisitor v) {
	    return v.visit(this);
	}
	
}